{include file="header.tpl"}
<div id="artsav_main_content">
<div class="top">
<div class="bottom">
<div class="left">
<div class="right">
<div class="left_top">
<div class="left_bottom">
<div class="right_top">
<div class="right_bottom">
<div class="inside">




<div class='content'>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">

<table class='tabs' cellpadding='0' cellspacing='0'>
<tr>
<td class='tab0'>&nbsp;</td>
  <td class="tab2 nowrap="nowrap"><a href="{$currentPage}edit/general">Основне</a></td>
  <td class="tab2" nowrap="nowrap"><a href="{$currentPage}edit/contacts">Контакти</a></td>
  <td class="tab2" nowrap="nowrap"><a href="{$currentPage}edit/personal">Особисте</a></td>
  <td class="tab2" nowrap="nowrap"><a href="{$currentPage}edit/education">Освіта</a></td>
  <td class="tab1" nowrap="nowrap"><a href="{$currentPage}edit/work">Робота</a></td>
  <td class="tab2" nowrap="nowrap"><a href="{$currentPage}edit/picture">Фотографія</a></td>
  <td class='tab3' NOWRAP><a href='{$currentPage}settings'>Налаштування</a></td>
</tr>
</tbody></table>

<img src="{$currentPage}application/templates/images/icons/edit.png" class="icon_big" border="0">
<div class="page_header">Редагування профілю &rarr; Робота</div>
<div>Місце роботи де Ви працювали, або працюєте</div>
<br>
<br>

			<form name="work_form" id="work_form" method="post" action="{$currentPage}edit/work">
			<input type="hidden" name="submit_work" id="submit_work" value="1">
			<div id="work_history_result"></div>
			{if $success!=''}
						<div class="msg-good" id="success">{$success}</div>
			{/if}
			{if $error!=''}
			<div class="msg-error" ud="error">{$error}</div>
			{/if}

			
			<div id="work_main_div">
			<!--First Work History-->
			<div  id="work_history_1" class="work_position">
				<table class="editor" border="0" cellspacing="0" width="100%">
				<tr class="company_name work_history_1_company">
					<td class="form1">Роботодавець:</td>
					<td class="form2">
					<input id="work_history_1_company" name="work_history_1_company" class="text" autocomplete="off" value="{$employer1}" size="54" />
					</td>
				</tr>
				<tr class="text work_history_1_position">
					<td class="form1">Посада:</td>
					<td class="form2"><input type="text" id="work_history_1_position" name="work_history_1_position" class="text" value="{$position1}" size="54" /></td>
				</tr>
				<tr class="textarea work_history_1_description tallrow">
					<td class="form1">Опис:</td>
					<td class="form2"><textarea class="textarea" cols="64" rows="3" id="work_history_1_description" name="work_history_1_description">{$description1}</textarea></td>
				</tr>
				<tr class="text work_history_1_city">
					<td class="form1">Місто:</td>
					<td class="form2">{$work_history_1_city}</td>
				</tr>
			

				<tr class="workspan work_history_1_workspan">
		<td class="form1">В період:</td>
					<td class="form2">
            <span>з</span>
						{$work_history_1_start_month}
						{$work_history_1_start_year}
						<span>до</span>
						{$work_history_1_end_month}
						{$work_history_1_end_year}
					</td>
				</tr>
				<tr class="remove_link remove_job">
					<td class="form1"></td>
					<td class="form2" style="padding: 15px;"><a href="javascript:void(0);" onclick="remove_job('work_history_1','{$currentPage}');" >Видалити це місце роботи...</a></td>
				</tr>
			</table>
			</div>
			<!--/First Work History-->
			
			<!--Second Work History-->
			{if $job_2}
			<div  id="work_history_2" class="work_position" style="display:block;">
			{else}
			<div  id="work_history_2" class="work_position" style="display:none;">
			{/if}
				<table class="editor" border="0" cellspacing="0" width="100%">
				<tr class="company_name work_history_2_company">
					<td class="form1">Роботодавець:</td>
					<td class="form2">
					<input id="work_history_2_company" name="work_history_2_company" class="text" autocomplete="off" value="{$employer2}" size="54" />
					</td>
				</tr>
				<tr class="text work_history_2_position">
					<td class="form1">Посада:</td>
					<td class="form2"><input type="text" id="work_history_2_position" name="work_history_2_position" class="text" value="{$position2}" size="54" /></td>
				</tr>
				<tr class="textarea work_history_2_description tallrow">
					<td class="form1">Опис:</td>
					<td class="form2"><textarea class="textarea" cols="64" rows="3" id="work_history_2_description" name="work_history_2_description">{$description2}</textarea></td>
				</tr>
				<tr class="text work_history_2_city">
					<td class="form1">Місто:</td>
					<td class="form2">{$work_history_2_city}</td>
				</tr>
			
				<tr class="workspan work_history_1_workspan">
		<td class="form1">В період:</td>
					<td class="form2">
            <span>з</span>
						{$work_history_2_start_month}
						{$work_history_2_start_year}
						<span>до</span>
						{$work_history_2_end_month}
						{$work_history_2_end_year}
					</td>
				</tr>
				<tr class="remove_link remove_job">
					<td class="form1"></td>
					<td class="form2" style="padding: 15px;"><a href="javascript:void(0);" onclick="remove_job('work_history_2','{$currentPage}');" >Видалити це місце роботи...</a></td>
				</tr>
			</table>
			</div>
			<!--/Second Work History-->
			
			<!--Third Work History-->
			{if $job_3}
			<div  id="work_history_3" class="work_position" style="display:block;">
			{else}
			<div  id="work_history_3" class="work_position" style="display:none;">
			{/if}
				<table class="editor" border="0" cellspacing="0"  width="100%">
				<tr class="company_name work_history_3_company">
					<td class="form1">Роботодавець:</td>
					<td class="form2">
					<input id="work_history_3_company" name="work_history_3_company" class="text" autocomplete="off" value="{$employer3}" size="54" />
					</td>
				</tr>
				<tr class="text work_history_3_position">
					<td class="form1">Посада:</td>
					<td class="form2"><input type="text" id="work_history_3_position" name="work_history_3_position" class="text" value="{$position3}" size="54" /></td>
				</tr>
				<tr class="textarea work_history_3_description tallrow">
					<td class="form1">Опис:</td>
					<td class="form2"><textarea class="textarea" cols="64" rows="3" id="work_history_3_description" name="work_history_3_description">{$description3}</textarea></td>
				</tr>
				<tr class="text work_history_3_city">
					<td class="form1">Місто:</td>
					<td class="form2">{$work_history_3_city}</td>
				</tr>
			
				<tr class="workspan work_history_1_workspan">
		<td class="form1">В період:</td>
					<td class="form2">
            <span>з</span>
						{$work_history_3_start_month}
						{$work_history_3_start_year}
						<span>до</span>
						{$work_history_3_end_month}
						{$work_history_3_end_year}
					</td>
				</tr>
				<tr class="remove_link remove_job">
					<td class="form1"></td>
					<td class="form2" style="padding: 15px;"><a href="javascript:void(0);" onclick="remove_job('work_history_3','{$currentPage}');" >Видалити це місце роботи...</a></td>
				</tr>
			</table>
			</div>
			<!--/Third Work History-->
			
			<!--Fourth Work History-->
			{if $job_4}
			<div  id="work_history_4" class="work_position" style="display:block;">
			{else}
			<div  id="work_history_4" class="work_position" style="display:none;">
			{/if}
				<table class="editor" border="0" cellspacing="0"  width="100%">
				<tr class="company_name work_history_4_company">
					<td class="form1">Роботодавець:</td>
					<td class="form2">
					<input id="work_history_4_company" name="work_history_4_company" class="text" autocomplete="off" value="{$employer4}" size="54" />
					</td>
				</tr>
				<tr class="text work_history_4_position">
					<td class="form1">Посада:</td>
					<td class="form2"><input type="text" id="work_history_4_position" name="work_history_4_position" class="text" value="{$position4}" size="54" /></td>
				</tr>
				<tr class="textarea work_history_4_description tallrow">
					<td class="form1">Опис:</td>
					<td class="form2"><textarea class="textarea" cols="64" rows="3" id="work_history_4_description" name="work_history_4_description">{$description4}</textarea></td>
				</tr>
				<tr class="text work_history_4_city">
					<td class="form1">Місто:</td>
					<td class="form2">{$work_history_4_city}</td>
				</tr>
			
				<tr class="workspan work_history_1_workspan">
		<td class="form1">В період:</td>
					<td class="form2">
            <span>з</span>
						{$work_history_4_start_month}
						{$work_history_4_start_year}
						<span>до</span>
						{$work_history_4_end_month}
						{$work_history_4_end_year}
					</td>
				</tr>
				<tr class="remove_link remove_job">
					<td class="form1"></td>
					<td class="form2" style="padding: 15px;"><a href="javascript:void(0);" onclick="remove_job('work_history_4','{$currentPage}');" >Видалити це місце роботи...</a></td>
				</tr>	
			</table>
			</div>
			<!--/Fourth Work History-->
			<div  id="work_history_4" class="work_position" style="display:block;">
			<table class="editor" border="0"   width="100%">
				
									<tr>
						<td  width="30%"></td>
						<td class="form2"><div class="divider" style="">&nbsp;</div></td>
					</tr>
				
				<tr class="add_link" >
				<td class='form1'></td>
					<td class='form2 addwork'><a href="javascript:voide(0);" onclick="add_job(); return false;" >Додати ще одне місце роботи...</a></td></tr>			

          <tr>
						<td align="right"></td>
						<td><div class="divider" id="last_divider" style="">&nbsp;</div></td>
					</tr>

        <tr>
        <td class='form1'></td>
        <td class='form2 '>
            
        <div class="form-submit">
        <input type="button"  onclick="validateWork();" id="save" class="form-submit round-btn" name="save" value="Зберегти" />
        <input class="form-submit round-btn" id="" name="" value="Відхилити" type="button" onclick="window.location='{$currentPage}user/profile/{$userId}';">
        <input type="hidden" name="work_section_count" id="work_section_count" value="{$total_jobs}">
        </div>
            
        </td>
        </tr>
			</table>
			</div>
			</div>
			</form>		
    </td>
  </tr>
</table>
</div>

</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{include file="footer.tpl"}
